PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Reaction / Liquid Ripples / various artists - 1200777363123.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=2 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1 |
| 8 | fDecay=1 |
| 9 | fVideoEchoZoom=0.999949848094 |
| 10 | fVideoEchoAlpha=0.5 |
| 11 | nVideoEchoOrientation=0 |
| 12 | nWaveMode=0 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=1 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.00406388861411 |
| 26 | fWaveScale=0.01 |
| 27 | fWaveSmoothing=0 |
| 28 | fWaveParam=-0.44 |
| 29 | fModWaveAlphaStart=1 |
| 30 | fModWaveAlphaEnd=1.00000002958 |
| 31 | fWarpAnimSpeed=0.01 |
| 32 | fWarpScale=100 |
| 33 | fZoomExponent=0.921768773963 |
| 34 | fShader=0 |
| 35 | zoom=0.99009994392 |
| 36 | rot=0 |
| 37 | cx=0.5 |
| 38 | cy=0.5 |
| 39 | dx=0 |
| 40 | dy=0 |
| 41 | warp=0.01 |
| 42 | sx=1 |
| 43 | sy=1 |
| 44 | wave_r=1 |
| 45 | wave_g=1 |
| 46 | wave_b=1 |
| 47 | wave_x=0.5 |
| 48 | wave_y=0.04 |
| 49 | ob_size=0.000 |
| 50 | ob_r=0.1775473632 |
| 51 | ob_g=0 |
| 52 | ob_b=0.0541189008 |
| 53 | ob_a=0.100 |
| 54 | ib_size=0.000 |
| 55 | ib_r=0 |
| 56 | ib_g=0 |
| 57 | ib_b=0 |
| 58 | ib_a=1.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0 |
| 62 | mv_dy=0 |
| 63 | mv_l=0 |
| 64 | mv_r=1 |
| 65 | mv_g=1 |
| 66 | mv_b=0 |
| 67 | mv_a=0 |
| 68 | b1n=0 |
| 69 | b2n=0 |
| 70 | b3n=0 |
| 71 | b1x=1 |
| 72 | b2x=1 |
| 73 | b3x=1 |
| 74 | b1ed=0.011229984 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=20 |
| 78 | wavecode_0_bSpectrum=1 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=1 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=2.44415 |
| 83 | wavecode_0_smoothing=0 |
| 84 | wavecode_0_r=1 |
| 85 | wavecode_0_g=1 |
| 86 | wavecode_0_b=1 |
| 87 | wavecode_0_a=0 |
| 88 | wavecode_0_x=0 |
| 89 | wavecode_0_y=0 |
| 90 | wave_0_per_frame1=t1 = 0; |
| 91 | wave_0_per_frame2=j = j + (bass)*0.01; |
| 92 | wave_0_per_frame3=j2 = j2 + (mid_att)*0.01; |
| 93 | wave_0_per_frame4=j3 = j3 + (treb_att)*0.01; |
| 94 | wave_0_per_frame5=t2 = j; |
| 95 | wave_0_per_frame6=t3 = j2; |
| 96 | wave_0_per_frame7=t4 = j3; |
| 97 | wave_0_per_frame8=k = k*0.99 + 10*mid/fps; |
| 98 | wave_0_per_frame9=t5 = -k; |
| 99 | wave_0_per_frame10=cl1 = if(below(if(above(cl1 + 0.002,1),0,cl1),0),1,cl1); |
| 100 | wave_0_per_frame11=t8 = cl1; |
| 101 | wave_0_per_frame12=cl2 = if(below(if(above(cl2 -1*q1,1),0,cl2),0),1,cl2); |
| 102 | wave_0_per_frame13=t7 = cl2; |
| 103 | wave_0_per_frame14=cl3 = if(below(if(above(cl3 +0.001,1),0,cl3),0),1,cl3); |
| 104 | wave_0_per_frame15=t6 = cl3; |
| 105 | wave_0_per_point1=xx = ((sample*0983624912364)%10000000+100)/10000000 + t7 - if(above(xx+t7,1),1,0) - 0.5; |
| 106 | wave_0_per_point2=yy = ((xx*1896575575)%10000000+100)/10000000 + t6 - if(above(yy+t6,1),1,0) - 0.5; |
| 107 | wave_0_per_point3=zz = ((yy*58652340875)%10000000+100)/10000000 + t8 - if(above(zz+t8,1),1,0) - 0.5; |
| 108 | wave_0_per_point4=d = sqrt(sqr(xx)+sqr(yy)+sqr(zz)); |
| 109 | wave_0_per_point5=w = 1; |
| 110 | wave_0_per_point6=bb = d*d*0.5; |
| 111 | wave_0_per_point7=n = 0.3; |
| 112 | wave_0_per_point8=s1 = sin(sin(t2*w+bb)*n); |
| 113 | wave_0_per_point9=s2 = sin(sin(t3*w+bb)*n); |
| 114 | wave_0_per_point10=s3 = sin(sin(t4*w+bb)*n); |
| 115 | wave_0_per_point11=c1 = cos(sin(t2*w+bb)*n); |
| 116 | wave_0_per_point12=c2 = cos(sin(t3*w+bb)*n); |
| 117 | wave_0_per_point13=c3 = cos(sin(t4*w+bb)*n); |
| 118 | wave_0_per_point14=z = (c3*s1*c2 + s3*s2)*xx - (c3*s1*s2-s3*c2)*yy + c3*c1*zz; |
| 119 | wave_0_per_point15=x1 = (c1*c2*xx + c1*s2*yy - s1*zz); |
| 120 | wave_0_per_point16=y1 = ((s3*s1*c2 - c3*s2)*xx + (s3*s1*s2+c3*c2)*yy + s3*c1*zz); |
| 121 | wave_0_per_point17=zoom = .5*(1/(z+0.5)); |
| 122 | wave_0_per_point18=x = 0.5 + zoom*x1 + sin(time*0.1)*0.; |
| 123 | wave_0_per_point19=y = 0.5 + zoom*y1 + cos(time*0.16801)*0.; |
| 124 | wave_0_per_point20=r = if(below(if(above(r,1),1,r),0),0,r); |
| 125 | wave_0_per_point21=g = if(below(if(above(g,1),1,g),0),0,g); |
| 126 | wave_0_per_point22=b = if(below(if(above(b,1),1,b),0),0,b); |
| 127 | wave_0_per_point23=a = 0.4; |
| 128 | wavecode_1_enabled=0 |
| 129 | wavecode_1_samples=512 |
| 130 | wavecode_1_sep=20 |
| 131 | wavecode_1_bSpectrum=1 |
| 132 | wavecode_1_bUseDots=0 |
| 133 | wavecode_1_bDrawThick=1 |
| 134 | wavecode_1_bAdditive=0 |
| 135 | wavecode_1_scaling=2.44415 |
| 136 | wavecode_1_smoothing=0 |
| 137 | wavecode_1_r=1 |
| 138 | wavecode_1_g=1 |
| 139 | wavecode_1_b=1 |
| 140 | wavecode_1_a=1 |
| 141 | wavecode_1_x=0 |
| 142 | wavecode_1_y=0 |
| 143 | wave_1_per_frame1=t8 = 1; |
| 144 | wave_1_per_point1=t8 = -t8; |
| 145 | wave_1_per_point2=y = sample; |
| 146 | wave_1_per_point3=x = 0.5 + t8*0.005; |
| 147 | wave_1_per_point4=pi3 = 3.1415*2*0.3333; |
| 148 | wave_1_per_point5=t = time + sample*2; |
| 149 | wave_1_per_point6=c = 2; |
| 150 | wave_1_per_point7=r = if(below(if(above(sin(t)*c,1),1,r),0),0,r); |
| 151 | wave_1_per_point8=g = if(below(if(above(sin(t+pi3)*c,1),1,g),0),0,g); |
| 152 | wave_1_per_point9=b = if(below(if(above(sin(t-pi3)*c,1),1,b),0),0,b); |
| 153 | wavecode_2_enabled=0 |
| 154 | wavecode_2_samples=512 |
| 155 | wavecode_2_sep=20 |
| 156 | wavecode_2_bSpectrum=1 |
| 157 | wavecode_2_bUseDots=0 |
| 158 | wavecode_2_bDrawThick=1 |
| 159 | wavecode_2_bAdditive=0 |
| 160 | wavecode_2_scaling=100 |
| 161 | wavecode_2_smoothing=0.6 |
| 162 | wavecode_2_r=0 |
| 163 | wavecode_2_g=0.400000479118 |
| 164 | wavecode_2_b=1 |
| 165 | wavecode_2_a=0.300000135476 |
| 166 | wavecode_2_x=0 |
| 167 | wavecode_2_y=0 |
| 168 | wave_2_per_frame1=t1 = q1; |
| 169 | wave_2_per_frame2=t2 = q2; |
| 170 | wave_2_per_frame3=t3 = q3; |
| 171 | wave_2_per_frame4=t4 = q4; |
| 172 | wave_2_per_frame5=t5 = q5; |
| 173 | wave_2_per_frame6=t6 = q6; |
| 174 | wave_2_per_frame7=t7 = q7; |
| 175 | wave_2_per_frame8=t8 = q8; |
| 176 | wave_2_per_point1=sample = 1-sample; |
| 177 | wave_2_per_point2=xxx = xx; |
| 178 | wave_2_per_point3=yyy = yy; |
| 179 | wave_2_per_point4=d = 1/sqrt(sqr(xx-xxx)+sqr(yy-yyy)); |
| 180 | wave_2_per_point5=x = xx + sample*(1-sample)*(value1-value2)*(yy-yyy)*d; |
| 181 | wave_2_per_point6=y = yy - sample*(1-sample)*(value1-value2)*(xx-xxx)*d; |
| 182 | wavecode_3_enabled=0 |
| 183 | wavecode_3_samples=512 |
| 184 | wavecode_3_sep=20 |
| 185 | wavecode_3_bSpectrum=1 |
| 186 | wavecode_3_bUseDots=0 |
| 187 | wavecode_3_bDrawThick=1 |
| 188 | wavecode_3_bAdditive=0 |
| 189 | wavecode_3_scaling=2.44415 |
| 190 | wavecode_3_smoothing=0 |
| 191 | wavecode_3_r=0 |
| 192 | wavecode_3_g=0 |
| 193 | wavecode_3_b=1 |
| 194 | wavecode_3_a=1 |
| 195 | wavecode_3_x=0 |
| 196 | wavecode_3_y=0 |
| 197 | wave_3_per_frame1=t8 = 1; |
| 198 | wave_3_per_point1=t8 = -t8; |
| 199 | wave_3_per_point2=y = (1+t8)*0.01; |
| 200 | wave_3_per_point3=x = sample; |
| 201 | shapecode_0_enabled=0 |
| 202 | shapecode_0_sides=100 |
| 203 | shapecode_0_additive=0 |
| 204 | shapecode_0_thickOutline=1 |
| 205 | shapecode_0_textured=0 |
| 206 | shapecode_0_x=0.48347072 |
| 207 | shapecode_0_y=0.49718330096 |
| 208 | shapecode_0_rad=0.0184296938453 |
| 209 | shapecode_0_ang=0 |
| 210 | shapecode_0_tex_ang=0.125660044128 |
| 211 | shapecode_0_tex_zoom=1.51878071592 |
| 212 | shapecode_0_r=0.33744008 |
| 213 | shapecode_0_g=0.427701988 |
| 214 | shapecode_0_b=0.074584 |
| 215 | shapecode_0_a=0.167330635601 |
| 216 | shapecode_0_r2=0 |
| 217 | shapecode_0_g2=0 |
| 218 | shapecode_0_b2=0 |
| 219 | shapecode_0_a2=0 |
| 220 | shapecode_0_border_r=1 |
| 221 | shapecode_0_border_g=1 |
| 222 | shapecode_0_border_b=1 |
| 223 | shapecode_0_border_a=0 |
| 224 | shapecode_1_enabled=0 |
| 225 | shapecode_1_sides=100 |
| 226 | shapecode_1_additive=0.515855488 |
| 227 | shapecode_1_thickOutline=1 |
| 228 | shapecode_1_textured=0.945179325 |
| 229 | shapecode_1_x=0.59567228416 |
| 230 | shapecode_1_y=0.5 |
| 231 | shapecode_1_rad=0.944303015465 |
| 232 | shapecode_1_ang=0.1490385052 |
| 233 | shapecode_1_tex_ang=0.00223079195244 |
| 234 | shapecode_1_tex_zoom=1.09674244153 |
| 235 | shapecode_1_r=1 |
| 236 | shapecode_1_g=0.3108980316 |
| 237 | shapecode_1_b=0.331756992 |
| 238 | shapecode_1_a=0.99218246068 |
| 239 | shapecode_1_r2=0.197160264 |
| 240 | shapecode_1_g2=0.1397082284 |
| 241 | shapecode_1_b2=0.131450655 |
| 242 | shapecode_1_a2=0.418007044 |
| 243 | shapecode_1_border_r=1 |
| 244 | shapecode_1_border_g=1 |
| 245 | shapecode_1_border_b=1 |
| 246 | shapecode_1_border_a=0 |
| 247 | shapecode_2_enabled=0 |
| 248 | shapecode_2_sides=100 |
| 249 | shapecode_2_additive=0 |
| 250 | shapecode_2_thickOutline=1 |
| 251 | shapecode_2_textured=0 |
| 252 | shapecode_2_x=1 |
| 253 | shapecode_2_y=0.5 |
| 254 | shapecode_2_rad=3.00540020669 |
| 255 | shapecode_2_ang=0 |
| 256 | shapecode_2_tex_ang=0.125663038951 |
| 257 | shapecode_2_tex_zoom=1.51878042448 |
| 258 | shapecode_2_r=0 |
| 259 | shapecode_2_g=1 |
| 260 | shapecode_2_b=0 |
| 261 | shapecode_2_a=1 |
| 262 | shapecode_2_r2=0 |
| 263 | shapecode_2_g2=0 |
| 264 | shapecode_2_b2=0 |
| 265 | shapecode_2_a2=1 |
| 266 | shapecode_2_border_r=1 |
| 267 | shapecode_2_border_g=1 |
| 268 | shapecode_2_border_b=1 |
| 269 | shapecode_2_border_a=0 |
| 270 | shapecode_3_enabled=0 |
| 271 | shapecode_3_sides=100 |
| 272 | shapecode_3_additive=0 |
| 273 | shapecode_3_thickOutline=1 |
| 274 | shapecode_3_textured=0 |
| 275 | shapecode_3_x=1 |
| 276 | shapecode_3_y=0.5 |
| 277 | shapecode_3_rad=0.398717752627 |
| 278 | shapecode_3_ang=0 |
| 279 | shapecode_3_tex_ang=0.125660862133 |
| 280 | shapecode_3_tex_zoom=1.51878008144 |
| 281 | shapecode_3_r=1 |
| 282 | shapecode_3_g=1 |
| 283 | shapecode_3_b=1 |
| 284 | shapecode_3_a=1 |
| 285 | shapecode_3_r2=1 |
| 286 | shapecode_3_g2=1 |
| 287 | shapecode_3_b2=1 |
| 288 | shapecode_3_a2=1 |
| 289 | shapecode_3_border_r=1 |
| 290 | shapecode_3_border_g=1 |
| 291 | shapecode_3_border_b=1 |
| 292 | shapecode_3_border_a=0 |
| 293 | per_frame_init_1=x1 = 0.9; |
| 294 | per_frame_init_2=y1 = 0.5; |
| 295 | per_frame_init_3=x2 = 0.5; |
| 296 | per_frame_init_4=x3 = 0.5; |
| 297 | per_frame_init_5=x4 = 0.5; |
| 298 | per_frame_1=decay = 1; |
| 299 | per_frame_2=xx1 = xx1*0.9 + (bass)*0.01; |
| 300 | per_frame_3=xx2 = xx2*0.9 + (treb)*0.01; |
| 301 | per_frame_4=yy1 = yy1*0.94 + (treb+bass)*0.0075; |
| 302 | per_frame_5=x1 = 0.5 + xx1-xx2; |
| 303 | per_frame_6=y1 = 0.5 + yy1; |
| 304 | per_frame_7=spring = 18; |
| 305 | per_frame_8=grav = 1; |
| 306 | per_frame_9=resist = 0.2; |
| 307 | per_frame_10=dt = 0.0003; |
| 308 | per_frame_11=vx2 = if(below(x2,1),if(above(x2,0),vx2*(1-resist*dt) + dt*((x1+x3-2*x2)*spring),abs(vx2)*bounce),-abs(vx2)*bounce); |
| 309 | per_frame_12=vy2 = if(below(y2,1),if(above(y2,0),vy2*(1-resist*dt) + dt*((y1+y3-2*y2)*spring-grav),abs(vy2)*bounce),-abs(vy2)*bounce); |
| 310 | per_frame_13=vx3 = if(below(x3,1),if(above(x3,0),vx3*(1-resist*dt) + dt*((x2+x4-2*x3)*spring),abs(vx3)*bounce),-abs(vx3)*bounce); |
| 311 | per_frame_14=vy3 = if(below(y3,1),if(above(y3,0),vy3*(1-resist*dt) + dt*((y2+y4-2*y3)*spring-grav),abs(vy3)*bounce),-abs(vy3)*bounce); |
| 312 | per_frame_15=vx4 = if(below(x4,1),if(above(x4,0),vx4*(1-resist*dt) + dt*((x3-x4)*spring),abs(vx4)*bounce),-abs(vx4)*bounce); |
| 313 | per_frame_16=vy4 = if(below(y4,1),if(above(y4,0),vy4*(1-resist*dt) + dt*((y3-y4)*spring-grav),abs(vy4)*bounce),-abs(vy4)*bounce); |
| 314 | per_frame_17=x2 = x2 + vx2; |
| 315 | per_frame_18=y2 = y2 + vy2; |
| 316 | per_frame_19=x3 = x3 + vx3; |
| 317 | per_frame_20=y3 = y3 + vy3; |
| 318 | per_frame_21=x4 = x4 + vx4; |
| 319 | per_frame_22=y4 = y4 + vy4; |
| 320 | per_frame_23=q1 = x1; |
| 321 | per_frame_24=q2 = x2; |
| 322 | per_frame_25=q3 = x3; |
| 323 | per_frame_26=q4 = x4; |
| 324 | per_frame_27=q7 = y3; |
| 325 | per_frame_28=q8 = y4; |
| 326 | per_frame_29=warp = 0; |
| 327 | per_frame_30=zoom = 1; |
| 328 | per_frame_31=q5 = sqrt(vx4*vx4 + vy4*vy4); |
| 329 | per_pixel_1=dir = -q6*1 + asin(1)*1; |
| 330 | per_pixel_2=b1 = 0.08; |
| 331 | per_pixel_3=m1 = q5*45; |
| 332 | per_pixel_4=xx = 0.5 + (q4-0.5)/aspectx; |
| 333 | per_pixel_5=yy = 1-(0.5 + (q8-0.5)/aspecty); |
| 334 | per_pixel_6=x1 = xx +cos(dir+1.5708)*b1; |
| 335 | per_pixel_7=y1 = yy -sin(dir+1.5708)*b1; |
| 336 | per_pixel_8=x2 = xx -cos(dir+1.5708)*b1; |
| 337 | per_pixel_9=y2 = yy +sin(dir+1.5708)*b1; |
| 338 | per_pixel_10=d1 = sqrt((x1-x)*(x1-x)+(y1-y)*(y1-y))-b1*2; |
| 339 | per_pixel_11=si1 = 1- 1/(1+pow(2,-d1*100)); |
| 340 | per_pixel_12=d2 = sqrt((x2-x)*(x2-x)+(y2-y)*(y2-y))-b1*2; |
| 341 | per_pixel_13=si2 = 1- 1/(1+pow(2,-d2*100)); |
| 342 | per_pixel_14=si3 = -pow(q5,3)*00; |
| 343 | per_pixel_15=dx = (si1*sin(y1-y)*m1*d1 - si2*sin(y2-y)*m1*d2 + si3*cos(dir)*t1)*2/aspectx; |
| 344 | warp_1=`shader_body |
| 345 | warp_2=`{ |
| 346 | warp_3=` |
| 347 | warp_4=` uv = uv - float2(0,1)*texsize.zw*0; |
| 348 | warp_5=` |
| 349 | warp_6=` float1 d = 0.024; |
| 350 | warp_7=` float1 dx = ( GetBlur2(uv + float2(d,0)) - GetBlur2(uv-float2(d,0)) ).y*1280*texsize.z; |
| 351 | warp_8=` float1 dy = ( GetBlur2(uv + float2(0,d)) - GetBlur2(uv-float2(0,d)) ).y*1024*texsize.w; |
| 352 | warp_9=` float2 my_uv = uv - float2(dx,dy)*0.05; |
| 353 | warp_10=` |
| 354 | warp_11=` |
| 355 | warp_12=` |
| 356 | warp_13=` ret.y = tex2D( sampler_fc_main, my_uv - floor(my_uv)).y; |
| 357 | warp_14=` ret.y += (ret.y - GetBlur1(my_uv - floor(my_uv)).y - 0.1)*.1 +0.02; |
| 358 | warp_15=` ret.z = (tex2D(sampler_main, uv_orig).y - ret.y)*4 + 0.5; |
| 359 | warp_16=`//ret = 0; |
| 360 | warp_17=` |
| 361 | warp_18=`} |
| 362 | comp_1=`shader_body |
| 363 | comp_2=`{ |
| 364 | comp_3=` |
| 365 | comp_4=` float2 d = texsize.zw*12; |
| 366 | comp_5=` float1 dx = ( GetBlur1(uv + float2(1,0)*d) - GetBlur1(uv-float2(1,0)*d) ).y; |
| 367 | comp_6=` float1 dy = ( GetBlur1(uv + float2(0,1)*d) - GetBlur1(uv-float2(0,1)*d) ).y; |
| 368 | comp_7=` float2 my_uv = uv - float2(dx,dy)*0.08; |
| 369 | comp_8=`ret = tex2D( sampler_fw_main, my_uv); |
| 370 | comp_9=` |
| 371 | comp_10=` |
| 372 | comp_11=`float1 border = GetBlur1(uv).z*2 - 1; |
| 373 | comp_12=` |
| 374 | comp_13=`float1 val = 1-tex2D( sampler_fw_main, my_uv).x*1.5; |
| 375 | comp_14=`float1 bl2 = 1-GetBlur2(my_uv).x; |
| 376 | comp_15=`ret = lerp( 0, float3(1,1,1),1-tex2D( sampler_fw_main, my_uv).x*1.5); |
| 377 | comp_16=`ret = float3(0.4,0,1)*val.x + float3(1,1,1)*bl2.x*2*(1-val.x); |
| 378 | comp_17=`ret += float3(1,0,1)*GetBlur2(uv).z*2; |
| 379 | comp_18=`ret *= 1-GetBlur1(uv).z*2; |
| 380 | comp_19=`ret += float3(0.8,0.2,0)*tex2D(sampler_main, uv).z; |
| 381 | comp_20=`} |